package cn;

import cn.webrx.config.SpringConfig;
import cn.webrx.mapper.DbMapper;
import com.baomidou.mybatisplus.core.MybatisPlusVersion;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;

@SpringJUnitConfig(SpringConfig.class)
@Slf4j
public class Demo {
    @Autowired
    private DbMapper dm;

    @Test
    public void t() {
        log.info(MybatisPlusVersion.getVersion());
        System.out.println(dm.ver());
        System.out.println(dm.tbs());
        System.out.println(dm.dbs());
    }
}
